﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200133F RID: 4927
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeFightActivityRewardCsReq : IMessage<TakeFightActivityRewardCsReq>, IMessage, IEquatable<TakeFightActivityRewardCsReq>, IDeepCloneable<TakeFightActivityRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003E27 RID: 15911
		// (get) Token: 0x0600DC96 RID: 56470 RVA: 0x0024EA05 File Offset: 0x0024CC05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeFightActivityRewardCsReq> Parser
		{
			get
			{
				return TakeFightActivityRewardCsReq._parser;
			}
		}

		// Token: 0x17003E28 RID: 15912
		// (get) Token: 0x0600DC97 RID: 56471 RVA: 0x0024EA0C File Offset: 0x0024CC0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeFightActivityRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E29 RID: 15913
		// (get) Token: 0x0600DC98 RID: 56472 RVA: 0x0024EA1E File Offset: 0x0024CC1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeFightActivityRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DC99 RID: 56473 RVA: 0x0024EA25 File Offset: 0x0024CC25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeFightActivityRewardCsReq()
		{
		}

		// Token: 0x0600DC9A RID: 56474 RVA: 0x0024EA2D File Offset: 0x0024CC2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeFightActivityRewardCsReq(TakeFightActivityRewardCsReq other) : this()
		{
			this.fightStageId_ = other.fightStageId_;
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DC9B RID: 56475 RVA: 0x0024EA5E File Offset: 0x0024CC5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeFightActivityRewardCsReq Clone()
		{
			return new TakeFightActivityRewardCsReq(this);
		}

		// Token: 0x17003E2A RID: 15914
		// (get) Token: 0x0600DC9C RID: 56476 RVA: 0x0024EA66 File Offset: 0x0024CC66
		// (set) Token: 0x0600DC9D RID: 56477 RVA: 0x0024EA6E File Offset: 0x0024CC6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x17003E2B RID: 15915
		// (get) Token: 0x0600DC9E RID: 56478 RVA: 0x0024EA77 File Offset: 0x0024CC77
		// (set) Token: 0x0600DC9F RID: 56479 RVA: 0x0024EA7F File Offset: 0x0024CC7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x0600DCA0 RID: 56480 RVA: 0x0024EA88 File Offset: 0x0024CC88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeFightActivityRewardCsReq);
		}

		// Token: 0x0600DCA1 RID: 56481 RVA: 0x0024EA96 File Offset: 0x0024CC96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeFightActivityRewardCsReq other)
		{
			return other != null && (other == this || (this.FightStageId == other.FightStageId && this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DCA2 RID: 56482 RVA: 0x0024EAD4 File Offset: 0x0024CCD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DCA3 RID: 56483 RVA: 0x0024EB2C File Offset: 0x0024CD2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DCA4 RID: 56484 RVA: 0x0024EB34 File Offset: 0x0024CD34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DCA5 RID: 56485 RVA: 0x0024EB40 File Offset: 0x0024CD40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.FightStageId);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DCA6 RID: 56486 RVA: 0x0024EB98 File Offset: 0x0024CD98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DCA7 RID: 56487 RVA: 0x0024EBF0 File Offset: 0x0024CDF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeFightActivityRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DCA8 RID: 56488 RVA: 0x0024EC40 File Offset: 0x0024CE40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DCA9 RID: 56489 RVA: 0x0024EC4C File Offset: 0x0024CE4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.GroupId = input.ReadUInt32();
					}
				}
				else
				{
					this.FightStageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400578E RID: 22414
		private static readonly MessageParser<TakeFightActivityRewardCsReq> _parser = new MessageParser<TakeFightActivityRewardCsReq>(() => new TakeFightActivityRewardCsReq());

		// Token: 0x0400578F RID: 22415
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005790 RID: 22416
		public const int FightStageIdFieldNumber = 1;

		// Token: 0x04005791 RID: 22417
		private uint fightStageId_;

		// Token: 0x04005792 RID: 22418
		public const int GroupIdFieldNumber = 9;

		// Token: 0x04005793 RID: 22419
		private uint groupId_;
	}
}
